package com.cnap.multiclouldmgmt.model.alarm;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalTime;

/**
 * 通知配置-通知时间
 *
 * @author xc
 **/
public class NoticeTime {
    /**
     * 开始时间 08:23
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm", timezone = "GMT+8")
    private LocalTime startTime;
    /**
     * 结束时间 22:09
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm", timezone = "GMT+8")
    private LocalTime endTime;

    /**
     * get
     *
     * @return StartTime
     */
    public LocalTime getStartTime() {
        return startTime;
    }

    /**
     * set
     *
     * @param startTime startTime
     */
    public void setStartTime(LocalTime startTime) {
        this.startTime = startTime;
    }

    /**
     * get
     *
     * @return EndTime
     */
    public LocalTime getEndTime() {
        return endTime;
    }

    /**
     * set
     *
     * @param endTime endTime
     */
    public void setEndTime(LocalTime endTime) {
        this.endTime = endTime;
    }
}
